﻿using System;
using System.Collections.Generic;
using HR60_PanelSoft.Model.BaseModel;

namespace HR60_PanelSoft.Model
{
	/// <summary>
	/// 场景事件对象
	/// </summary>
	public class SceneEvent
    {
		/// <summary>
		/// 目标设备,ref
		/// </summary>
		public string device;

		/// <summary>
		/// 属性名称列表,ref
		/// </summary>
		public List<string> attrs = new List<string>();

		/// <summary>
		/// 属性取值的key列表
		/// </summary>
		public List<String> attrValueKeys = new List<string>();

		/// <summary>
		/// 目标设备, ref to object
		/// </summary>
		/// <returns>The device.</returns>
		public Device getDevice()
		{
			return Device.find (device);
		}

    }
}
